package com.springcloud.consumer02.blockhandler;

import com.alibaba.fastjson.JSONObject;

public class UserFallback {

    public static JSONObject addUserFallback(String username, String password, Throwable t) {
        JSONObject obj = new JSONObject();
        obj.put("code", 500);
        obj.put("msg", "sentinel熔断");
        return obj;
    }
}
